allow for null terminal