Adding failcheck