set unit within view