rewrote the code to enter the name and age into the local postgres database instead of writing to a textfile