Removed double declaring variables.