didn't like that the isPrivate variable was public