sweetened console input code
optimized naming