Modified Defined method