Some functions or snippets write by me