being a bit more careful with boolean casting