add support for multiple views