A single switch works great but when the rest r added it gets too slow is it because the loop function is too long?