added methods -Danica
class diagram -Danica