changed styles and added locale