added additional loggin