made input much better!!!! with cursor