cleaning up unnecessary variable