now ready for calculations