move manta-specific functions