commented out locale funciton