Awful second half but a brilliant result