corrected syntax for named tuple def