view as type