switch to using pack module, added more info output