change getName() to getDetails(). Also returns age and subject being studied, rather than just name.