Changed the way the output is made
Working display when filtering keys