wrote more run time code snippets