replaced by mapped_exec