docs and remove unnecessary argument