NON-BLOCKING CODE to turn a light on

check these two on the matter of "several things at the same time"