Removed minor error + added sendInterval