added random sorta working code