add default methods to dao class