added gas state model / primitive controller