improved a comment and removed and unused parameter