Got output of results working