adding conditionals for additional platforms