added public modifiers to the classes