temp save, needs clean up (tweaks from writing)