2nd homework

fix message length