make template more simple