few tweaks to the sample project.