MBH: adding new gallery code and structs