did the code. but an error appeared when i put it in,