generating godmi function automactically