changed ports and added _motor