refactoring to a proper object
uniformizing identation
extracting method: camera
extracting methods