Base code without service reference