changed rendomness... will rewrite this later