solve exercise #26