Add resolution and function to server call