ass6 code done