Added delay variable and made sure _data had enough elements to draw marker.