debugging updated