added function to return the instance name