creating madpostcollection object