initial implementation of package selection matrix