refactored camera param