add init method to BED3D