added println for hits and miss