ooops what did i do with the smartpointers