example implementation of mina-like deployment