Added object class for user input