the logic it's right. but the conditional in partial it's not.