putting a lot of fflush calls in to get all my printfs