makes server response optional