this will fail if no package is present? seems incorrect