changed type to featureCollection