Ok so I just replaced the motor in a 2006 CTS I picked up for dirt cheap. Replaced it with a 2009 3.6. I’m getting a whole handful of codes pertaining to the variable timing system. P0010 p0013 etc. I’ve replaced the solenoids and checked grounds. Has anyone ran into this issue and what can I do. The car seems to be running fine my issue is the check light on the dash but most importantly after driving the car when I turn it off it will not crank back up until I clear the codes. Once I clear the codes it starts up and runs great.