WIP improve light gate