added automatic datageneration by functionhandle etc.