a person receives a sentence by a judge after committing a crime