class exercises: coding camera setup functions