added a method