rename tuple head/tail to first/second