getting rid of the output variable