Added User Input processing