getting materials from the bottom of the list