divide the package util and formalize