add output loggin statements