added camera stuff for 2D