set course function; clear buff function