extract elements into their own views