use gets to take place of scanf, but not useful this time