Used direct float calculations