found mem leak... data array initialization everytime