changed pins order to descending