added 2 new methods