missing throw
remove unused param.