defined initWithFraction and initWithInteger