sample as module