why is this written to disk rather than passed through memory?