starting to detect platform in a more granular way