forgot to add file to be compliled and removed useless pointers