fleshed out LogDAO class