updates to src files + light.cpp