need context when querying dom