necessary code additions to monolith for morphing bottle