class output backwards