moved dependency to api