add spec and sources