define method and other goodies