Implement  for endings
Implement all for clippings
Add test for clippings