Only printing value if equal