added radar sizes and error handling