return head and flat list of stus