simplifiy True/False logic