simplifying logic of client dao methods