initial base code