updated 2.1

added support for valgrind and parameters