use BUFFER_MAX for static char array