when it is invoked without parameters the program displays the current names