post checker function added.