add platform class