adding window id to buckets