new version base code