updated processing to 200 at a time