reflection calculates