ported samples to github