updated for dto