start modification of function