remove unused-parameter warning