fixed data response issues, API optimized for readability, functionality