updated documentation with multiple params