pretty solid, adding output results logic