Some additions in function scan tax