cleanup src
smooth optional
update example with 2, including no smooth