changed to else, still doesn't log input of radio buttons