take sequences as input to transfer