added spec support correctly