initialized cursor