using all elements