fixed cs3411 assignment