personal code snippets and practice