Bettkd submission

Corrected the code submission