added check for correlation between position and hs