a judge is responsible for sentencing convicts