Added success/failure print out.