gencode done .: testing and review