add spiegel
add window for document loading