reformat basic snap hw example