added template choice on controls panel