finished clear and started working on random
clear function
merge conflicts
merge conficts