integrating with resource manager(Linking errors)