Flesh out view logic