transfer data between templates