move example code to separage package