modifications in Package class