make curve arrayable