added control template, adding data template