modified simplewindowhstore