make api simple, support custom define method