sending data at wrong time/not sending