add view and utility method for re-use in other packages