Infrastructure.java now implements calculatefailed