working on the mendel-foldarap