removed unnecessary public modifiers