moved cached spec to separate file