added more variables for final results