#23 added methods to dao