adding version checks to API11+ functions