finished class Vout