Adpating the code to biicode