quick special purpose code snippet