You mean that line 47 would not be needed, right? That was my first approach but didn't work, that's why I added line 57.