the third input representation still doesn't work, but it's getting there