filter out anything but elements