added randomseed value