rudimentary camera functionality