renamed from input to strokes