used data and last codes