Added helper function file