factor user into variable