C18 source code