Added loop over package
added loop over packages