init and add posts