stuff useful for cmap's data ninja