improvements to package 6