set of standard helper functions