define tuple and make tuple working