updated prog 1 of hw