changing to special casing this for each platform