added space for null terminator