add collapse clause

next step is complete clause head and node