why is there a `begin` block here? I think that's unnecessary.