added camera base code