added a method or two