re-add create functions migration (BAD)