separated sample from lib