updated to work with all [4] motors