added platform class