generating model post