primitive cursor support added