added helpers to avoid float rounding