Simplified camera code