Added if statement for fail.