added hs solution