added 2 methods