return doubles instead of ints