Use mock code from gluon