changed template params