decide() implementation