latest ctx switch code, got to make it work guys git commit -am