Fixed findValue and a bunch of prints as per spec