added line on function