defined method