call for createalldtos commented, get and add added back function block