It refused to work when I tested the code. How do you resolve this?