helper func not visible outside pkg