final camera code