add paramiter to functions