adds cot's to main loop.