Rewritten code base