Femoved unused argument, added documentation of all argument