DAO Implementation (Sankey code)