order changed to z-index, a list comprehension removed for clarity