block handeling