Testing

100% function checks and documentation