the name entry works and is saved in a variable