include and use common code for hrp2jsknt and hrp2jsknts