move example out from lib