added array cursor