updated output text and accuracy