BED support
Added BED support