passing sentence requires punishing a criminal