add in optional object to pass to the server method