preData might be undefined