Not using c++11
- Replace nullptr to NULL