added getIntValue() for numSpaces b/c it's not supposed to be a double