a tweak I just had to do for closure