added thePlatform stuff