working on the methods