Abstract out user helper functions