added methods

Fixed #69