improvements to package 9