added logging options