added platform support