Working X-Block and Block Counter

X-Block needs work.