implement tuple sections (#359)

#359