making sure to use the locale properly