worked on package query - formalising versioned package and package