Removed prints statements used for debugging