Job tested, logging to be added
Internal functions added