base system code