added most logic car