tiny functions for analysising text, fetch network resource