changed the Raw type to double to account for rUNDEFS. it is still an integer though