Changed length binding approach, various tests now passing