added fallback to calc()