taking out api publishing