better code snippet doco