extracted base view