Restore details and edit views
add utility methods