implement tuple sections (#359)