added prerequisites
tested and worked getting information from user input