added help function, added cursor keys