added seedrandom, fixed devices removeAll