improvements to package 3