Do I just delete this code and replace it wiht the second code you posted?