midified for DM api limit