brings flog up to code