added publishing in sampleproject