Added functions to the previously useless module