Adding history and windows collection