improvement 3

there are three errors in this version