Removed extra variable used in debug testing