increased viewing distance and made it changeable at runtime