Removed anonymous function