defined method structure