remove quite a bit of un needed stuff