Add verbose anonymous function version of solution