Bug fix. Function addition.