added mako integration codes