added methods to the lass