added simple helper functions
added simple helper functions