add trans method from src to dest