adding cursor changes