dependences and templates