initialized function to generate claims