added a utilities file for misc methods