Almost have U/D

Up/down functionallity almost there, criteriabuilder error