missing file from HW2
runtime error fixes