added code to generate Si values