removed one userID and changed private to protected