operations with lists and tuples