added clear function to make a cleaner look