Add modified function.