just a practice misc collection of snippets codes