use main element instead, now that it exists