Bug Fix: made constructor private and num/denom public