sentencing happens at trials