moved to Seq and cleaned up CPS transformer