added basic light mechanism