use reduced view properly
removing debugging print statements