Added debug statments