started adding camera functions