Using new uart class