adding in logic for the pusle boolean