added boolean and story element

added some story flow by using array.pop and a boolean