added documentation to getName and setName