Added more debug prints