converted void to bool in dao