move el declarations into view bodies for clarity