Implemented some of the methods