adding support to append multiple views at once