getting rid of explicit variable