Use variable instead of querying the element again