oop

created object to fix user input issues