Deleted unnecessary pointers