user and type work