some coding for background check service