probably don't need this extra variable and can check against true directly