try a different approach without injecting a style element