main.c fixed buffer size and added comments