added public modifiers for methods