merged the initial api