fix end of method without return statement
avoid unused parameter warning