last bits of changes to cl linear model