added calculation for initial transform