apply css, etc