Check for last element first