example helper functions