adding platform support