added root plotting in samplemodule