added full convertToUSD function
Move "checked" check outside of function