extracting utils - work in progress