O line substitutions