code review: removed parameter