templates correctly linked