correctly finds elements now