docs: add code snipplets