Trying to add boolean expression