Final Formatted version

Final Formatted version and anon function