Removed duplicate ClearOutput function