updates for two line codes