removed unused parameters from template