Add some glenz code