added init platform, changed randomization method