improved camera demo