added results drawing stuff