added cursor changes