improved util methods based on tests