camera code added