added a line inside a function