change currentPosition from required to optional. for AI does not need send this to server