add get_platform