loading templates earlier