. . . . "Penalties for committing a class 2 felony are based on factors such as the severity of the crime, the defendant's previous prison record and intent." .