added platform param