added camera functionality