using style object instead of hardcoded "<pre>" tag