adding snippets of differents purposes