fix for smod lab_3