now the service receives the name as input, and a bit of documentation is provided