improved usage sample