changed 0 to nullptr to make the compiler happy