add and import API methods