added cursor option