Refactor tube functions