remove magic number 6 = dimension of amplitude