changing spec to include class name and package