converting to a real template