update:Removed extra variable