add license and sample