seperate file for helper functions and cleanup