Added a bad one, fixed some stuff with rand