tidied up user_spec