added sources and window