translating to try to eliminate poossibility of float related errors