ambient light working