adding bed-management to dist