block method written, needs testing