Changed c template