added functions that return ordered lists