Add proto for 1d