added camera useful functionality