Hamas accepts