updated to bed v3