Cannot compile, radius not defined in this scope