working on spec test