working on final output