Tuple manipulation linrary