The effect of passing sentence is punishment of a crime