add bar and bar data spec