Add getName method structure