Removed an uncessary varibel.