added hive codes