work on templateprovider and template snipplets