anonymous function wrapping
removed unnecessary semicolons