inital bool function is working need to change var for the story