Updated AddPanel

basically does the same thing from a few nights ago but this time directly in the class instead of calling from somewhere else