basic rest functions, user function