using unless instead of iff