getting close to the CSS-styled version