wip refacoring resInfo()
wip refactoring