try slightly different logic