Removed extra variable declarations