added window and sources