converted package lists to arrays