Have fixed code, now lists out results