Initialize with base code