this will end up comparing a boolean to a class object that shouldn't even be defined?