change do end to {} blocks