adjusted html for API