added cursor pointers