improved sample project