added define method