What was tin used for in the 1800s