added logging and noise