added new stuff to check hwk per hwk3 (all working)