verison 3, addded user input(poorly)