add case for platform