I've made an assumption about the version here. If this isn't cool is there a better way to do this?