add bed generation