in line 24, player object is nil, hence method name is not accessible. What is wrong?