Added registration and bd