turned lights into nodes