removed extra pointers