Resolving compile problem with name