In a criminal trial, if the accused is found guilty the judge determines the sentence based on _______ that depend on the nature of the offense, the number of prior convictions, and several other factors.