changed block method