Unexpected benefits of jealousy