testing addshared route and function