better output, still having problems with candidate lines