refactoring e restyling camera