cleaning up code and trying to fix camera