Added new method class