Two way light switching explained