cleaned up velocity and light intensity