code snippets that is making my life easier