copied orginal pair code to amelialaundy