messing around with templates n stuff