Quiwk and dirty hack to validate output