added snippets of code for stepcources
new code portion