a sample code with researched opensource project code