added first draft of define method