added buffer parser