migrate 56 more functions