change optional parameters to use ? at beginning