added argument to call to get_platforms