now with config
another try
sorted api
api v2