Copy and pasted provided code over my code to ensure no future issues