Implemented define method