correction of first solution