added post status function