added base view stuff