initial commit helper functions