refactor user_specs