Removed polygon code