fixed pattern generation