Reimplementing lost code