use same cursor for initialization functions