added variable defination of $rs_cal_table_array