hisotry is empty when initialized