this is not used anymore, AFAICS
do we need to keep it? or move into tools?