Create base code