make boolean stuff less stupid