adds method 'name' to all three classes