I am little confused with dao layer