example wiht inline tmeplates in separated files