Tried with templates. Failed so far.