made __construct public.