first working codebase