add a view, other small tweaks