calculates correct