Added cursor changing