Refactor sendK for better composability