circle and polygon now uses providers