removed unecs. code, data load finished but not optimized