remove unnecessary do...end