adding more methods to object