Added PJCursor functionality