remove now filters by id
added limits to find and remove
added modis.flatten
made flatten private