code updated thanks for pointing that out i dont know why i call that destructor because I usually just delete them :/