DA - added code for algorithms