scala templates added