set more methods as private
Collect all new posts; refactoring
Add missing 'end' keyword