output finished, intial impementatin