pushing the calculation part of package.s