added random to mypanel needs testing once ifs are made