changed weight file and logic to work with binary outputs on sequence
numbers