added debug loggin