attempt to save memory by referencing variables