added appropriate logging