Described the parameters. Added some testcases.