work in progress : api