added two motors at a time support for 5