static bool cursor is the critical element here