hive stub code untested