Removed unnecessary varibles.