adds small update to functions
separates bodies from locale code