refactored Name/Surname types from string to char*