debug and save memory...