fixing bugs in code. . fixing bugs in code