write section31 and correct section27