changed platfromversion to double