cleaning up {}() syntax