refactored linestrip interface