Trying to learn rules but a simple one is not working!

oh strange, does that mean only one return statement works ? What if I want to print all attributes say firstname,email and costcenter one by one ?