Can you not just pass the element directly in here?