Created separate history class