first step to disociate playercar and IAcar logic