removed dependency on spec