am i using the wrong method in this code or is there a way i can edit the code without clearing the code ?