Correctly wrote tuple as an inline function