added some mortar stub code.