added parametrict function test