store in memory version,
no error detect now