a bit of logic cleanup