Removed duplicate instance of variables