add API list functionailty