implement post. fix buffering issues. add more test files